#!/bin/bash

version=$(cat /etc/redhat-release |awk '{print $4}')
echo $version

if [[ $version == *8* ]]; then
 echo "包含"
else
 echo "不包含"
fi
